Note that the Web Components suitcase is selected.
The WebObjects Component Wizard appears.
You're going to bind this WOString so that it reflects the number of guests who have submitted this form (see screen shot on next page).
There is an entry in the second column for the allGuests application variable you created. This entry appears in the Main component as well, since application variables are accessible from anywhere in the code.
You need to do one more thing so that the GuestList page now displays when the user submits the form.
return pageWithName("GuestList");
pageWithName is a standard WebObjects method (defined in the WOApplication class) that allows you to specify a new page to display.
Each time you submit the form, the number of guests displayed in the WOString should increase.
Table of Contents
Next Section